package com.twu.biblioteca;

/**
 * Created by michaelbottjer on 21/04/2014.
 */
public class Movie extends Item {

    private String title;
    private String director;
    private int year;
    private String rating;

    public Movie(String Name, String Director, int Year) {
        setTitle(Name);
        setDirector(Director);
        setYear(Year);
        setRating("unrated");
    }

    public Movie(String Name, String Director, int Year, String Rating){
        setTitle(Name);
        setDirector(Director);
        setYear(Year);
        setRating(Rating);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getRating() {
        return rating;
    }

    public void setRating(String rating) {
        this.rating = rating;
    }
}
